TotalContest\Submission\Model D

Total Complexity 157
Dependencies 23
Dependents 6
Total lines 1,528
Lines of code 633
Logical lines of code 333
Comment lines 702
Methods 74
Properties 14

Methods 74

Method Rating Maintainability Complexity Lines of code
getBlocks()
B
42 17 48
__construct()
A
41 9 51
getContent()
A
47 9 33
incrementRatings()
S
51 6 25
getVisibleFields()
S
53 6 22
getDateDiffForHuman()
S
56 6 16
isAcceptingVotes()
S
57 4 17
getSeoAttributes()
S
58 4 15
getBindings()
S
49 3 29
toArray()
S
47 2 36
getDetailedRatings()
S
56 3 16
getThumbnailUrl()
S
62 4 10
compileExpressions()
S
62 3 11
getShareAttributes()
S
53 2 23
getTitle()
S
54 2 21
getCategory()
S
70 3 5
getFormFields()
S
65 3 9
getField()
S
67 3 7
getRatings()
S
61 2 11
getPreview()
S
62 2 11
setError()
S
77 2 3
isOwner()
S
68 2 6
save()
S
63 2 10
getCategoryName()
S
75 2 4
render()
S
66 2 9
getErrorMessage()
S
78 2 3
hasVoted()
S
69 2 7
getPermalink()
S
69 2 6
getPercentageWithLabel()
S
69 2 6
getPercentage()
S
70 2 6
jsonSerialize()
S
81 1 3
getPrefix()
S
76 1 4
getScreen()
S
82 1 3
setScreen()
S
76 1 4
getFields()
S
79 1 3
getTemplateId()
S
78 1 4
getAttribute()
S
69 1 7
getAttributes()
S
82 1 3
getDateDiff()
S
74 1 4
getAdminEditLink()
S
79 1 3
getId()
S
81 1 3
getAjaxUrl()
S
71 1 6
getReceivedVotes()
S
82 1 3
getReceivedViews()
S
82 1 3
incrementVotes()
S
71 1 6
incrementViews()
S
73 1 5
getAction()
S
82 1 3
setAction()
S
80 1 3
getVotesWithLabel()
S
74 1 4
getVotesNumber()
S
80 1 3
__toString()
S
80 1 3
setForm()
S
80 1 3
getUrl()
S
71 1 6
getViewsNumber()
S
80 1 3
getRateWithLabel()
S
72 1 5
getRateNumber()
S
79 1 3
getRate()
S
80 1 3
getType()
S
79 1 3
getSubtitle()
S
75 1 4
getViewsWithLabel()
S
74 1 4
getVotes()
S
80 1 3
isApproved()
S
74 1 4
getLimitations()
S
82 1 3
getSubmissionPost()
S
82 1 3
getRestrictions()
S
82 1 3
isWinner()
S
79 1 3
getError()
S
82 1 3
getViews()
S
80 1 3
getDate()
S
82 1 3
hasError()
S
80 1 3
getContest()
S
82 1 3
getAuthor()
S
80 1 3
getForm()
S
82 1 3
isEmbeddable()
S
78 1 3